<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>


    <p>
        <!-- for关联id  -->
        <label for="a">请输入姓名：</label>
        <input type="text" id="a">
    </p>
    <p>
        <label for="b">请输入密码：</label>
        <input type="password" id="b">
    </p>


    <p>
        <input type="radio" name="sex" id="a1"> <label for="a1">男</label>
        <input type="radio" name="sex" id="b1"> <label for="b1">女</label>
    </p>
</body>

</html>